<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        User::create([
            'name' => 'guoguangxin',
            'password'=>Hash::make('123456')
        ]);
        User::create([
            'name' => 'zhanghongtao',
            'password'=>Hash::make('123456')
        ]);
        User::create([
            'name' => 'zhengyihang',
            'password'=>Hash::make('123456')
        ]);
        User::factory(12)->create();
    }
}
